package com.bmf.module.examination.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel
public class StatisticalResultVo implements Serializable {

    //名称
    @ApiModelProperty(value = "考试名称")
    private String name;

    //学生姓名
    @ApiModelProperty(value = "学生姓名")
    private String studentName;

    //开始时间
    @ApiModelProperty(value = "开始时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
    //结束时间
    @ApiModelProperty(value = "结束时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    //分数
    @ApiModelProperty(value = "分数")
    private double score;

    //类型 0：正常考试1：免登录考试
    @ApiModelProperty(value = "类型 0：正常考试1：免登录考试")
    private Integer type;

    //参加次数
    @ApiModelProperty(value = "参加次数")
    private Integer partCount;

    //总分/及格分
    @ApiModelProperty(value = "总分/及格分")
    private String fraction;

    //正确率
    @ApiModelProperty(value = "正确率")
    private Double accuracy;

    //得分率
    @ApiModelProperty(value = "得分率")
    private Double scoringRate;
}
